package com.logic.saas.persistence;

import java.util.List;

import com.logic.saas.pojo.Kind;
import com.logic.saas.pojo.Ps;
import com.logic.saas.pojo.Qcode;

public interface QcodeMapper extends BaseMapper<Qcode>{

	public Kind getKindById(Ps ps);
	
	public Kind getKindByShortName(Ps ps);
	
	public Qcode getQcodeById(Ps ps);
	
	public Qcode getQcodeByKindNameAndCodeName(Ps ps);
	
	public void updateQcode(Ps ps);
	
	public void deleteQcode(Ps ps);
	
	public void insertQcode(Ps ps);

	public List<Qcode> queryQcodeByKindCode(Ps ps);
	
	public List<Qcode> queryQcode(Ps ps);
	
	public void insertKind(Ps ps);
}
